home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / em7sui_1 / em7sui~1.exe / ColumnGraphTest.wr_ / ColumnGraphTest.wr
Text File  |  1999-01-07  |  12KB  |  505 lines

  1. #VRML V2.0 utf8
  2.  
  3. EXTERNPROTO em7_ChartGrid [
  4.     exposedField SFNode appearance
  5.     exposedField SFColor lineColor
  6.     field SFInt32 xDimension
  7.     field SFFloat xSpacing
  8.     field SFInt32 yDimension
  9.     field SFFloat ySpacing
  10.     field SFInt32 zDimension
  11.     field SFFloat zSpacing
  12.     field SFFloat thickness
  13.     eventIn SFInt32 set_xDimension
  14.     eventIn SFFloat set_xSpacing
  15.     eventIn SFInt32 set_yDimension
  16.     eventIn SFFloat set_ySpacing
  17.     eventIn SFInt32 set_zDimension
  18.     eventIn SFFloat set_zSpacing
  19.     eventIn SFFloat set_thickness
  20. ] "..\..\ProtoPac\VR_GRAPH.wrl#em7_ChartGrid"
  21.  
  22. EXTERNPROTO em7_Legend [
  23.     field MFNode appearances
  24.     field MFString descriptions
  25.     field SFString keyStyle
  26.     field SFFloat textHeight
  27.     field SFFloat textGap
  28.     field SFColor textColor
  29.     eventIn MFNode set_appearances
  30.     eventIn MFString set_descriptions
  31. ] "..\..\ProtoPac\VR_GRAPH.wrl#em7_Legend"
  32.  
  33. EXTERNPROTO em7_ContentToggle [
  34.     exposedField MFNode children
  35.     field SFBool contentsExist
  36.     eventIn SFBool set_contentsExist
  37. ] "..\..\ProtoPac\VR_UI.wrl#em7_ContentToggle"
  38.  
  39. EXTERNPROTO em7_PopupStrip [
  40.     field SFInt32 xDimension
  41.     field SFFloat xSpacing
  42.     field SFFloat radius
  43.     field SFFloat depth
  44.     field MFFloat height
  45.     field SFColor color
  46.     field SFFloat transparency
  47.     field SFString defaultPopupText
  48.     field SFFloat popupHeight
  49.     field SFString allignment
  50.     field MFString popupText
  51.     exposedField SFColor textColor
  52.     exposedField SFColor backgroundColor
  53.     exposedField SFColor borderColor
  54.     exposedField SFBool touchEnabled
  55.     eventIn MFString set_popupText
  56.     eventIn MFFloat set_height
  57.     eventOut SFInt32 mouseOverIndex
  58.     eventOut SFInt32 mouseClickedIndex
  59. ] "..\..\ProtoPac\VR_GRAPH.wrl#em7_PopupStrip"
  60.  
  61. EXTERNPROTO em7_RoundedColumnSeries [
  62.     field MFNode appearance
  63.     field SFInt32 xDimension
  64.     field SFFloat xSpacing
  65.     field SFFloat width
  66.     field SFFloat depth
  67.     field MFFloat height
  68.     field MFFloat floor
  69.     field SFFloat bevelRadius
  70.     field SFFloat creaseAngle
  71.     eventIn SFInt32 set_xDimension
  72.     eventIn SFFloat set_xSpacing
  73.     eventIn SFFloat set_width
  74.     eventIn SFFloat set_depth
  75.     eventIn MFFloat set_height
  76.     eventIn MFFloat set_floor
  77.     eventIn MFNode set_appearance
  78. ] "..\..\ProtoPac\VR_GRAPH.wrl#em7_RoundedColumnSeries"
  79.  
  80.  
  81. Transform { 
  82.     children [ 
  83.         Background { 
  84.             skyColor 0.886 0.906 0.929
  85.         }
  86.         Transform { 
  87.             children 
  88.                 Shape { 
  89.                     appearance 
  90.                         Appearance { 
  91.                             material 
  92.                                 Material { 
  93.                                     diffuseColor 0.000 0.000 0.251
  94.                                 }
  95.                         }
  96.                     geometry 
  97.                         Text { 
  98.                             string "Portal Column Graph"
  99.                             fontStyle 
  100.                                 FontStyle { 
  101.                                     family "SANS"
  102.                                     justify "MIDDLE"
  103.                                     size 1.300
  104.                                     style "BOLD"
  105.                                 }
  106.                         }
  107.                 }
  108.             translation 5.000 8.800 0.000
  109.         }
  110.         Transform { 
  111.             children 
  112.                 em7_ChartGrid { 
  113.                     appearance 
  114.                         Appearance { 
  115.                             material 
  116.                                 Material { 
  117.                                     diffuseColor 0.000 0.251 0.502
  118.                                     transparency 0.500
  119.                                 }
  120.                         }
  121.                     lineColor 0.902 0.918 0.749
  122.                     xDimension 6
  123.                     xSpacing 2.000
  124.                     yDimension 6
  125.                     ySpacing 1.600
  126.                     zDimension 3
  127.                     zSpacing 3.000
  128.                 }
  129.         }
  130.         Transform { 
  131.             children 
  132.                 Billboard { 
  133.                     children 
  134.                         Transform { 
  135.                             children 
  136.                                 em7_Legend { 
  137.                                     appearances [ 
  138.                                         Appearance { 
  139.                                             material 
  140.                                                 Material { 
  141.                                                     diffuseColor 0.188 0.545 0.812
  142.                                                 }
  143.                                         }
  144.                                         Appearance { 
  145.                                             material 
  146.                                                 Material { 
  147.                                                     diffuseColor 0.161 0.839 0.569
  148.                                                 }
  149.                                         }
  150.                                     ]
  151.                                     descriptions [ "Second series", "First series" ]
  152.                                     keyStyle "SPHERE"
  153.                                     textHeight 0.600
  154.                                     textGap 0.210
  155.                                     textColor 0.000 0.000 0.000
  156.                                 }
  157.                         }
  158.                 }
  159.             translation 11.000 0.800 0.000
  160.         }
  161.         Transform { 
  162.             children [ 
  163.                 Transform { 
  164.                     children 
  165.                         Shape { 
  166.                             appearance 
  167.                                 Appearance { 
  168.                                     material 
  169.                                         Material { 
  170.                                             diffuseColor 0.000 0.000 0.000
  171.                                         }
  172.                                 }
  173.                             geometry 
  174.                                 Text { 
  175.                                     string [ "Row 1", "Row 2", "Row 3", "Row 4", "Row 5" ]
  176.                                     fontStyle 
  177.                                         FontStyle { 
  178.                                             family "SANS"
  179.                                             justify [ "END", "BEGIN" ]
  180.                                             size 0.400
  181.                                             spacing 5.000
  182.                                         }
  183.                                 }
  184.                         }
  185.                 }
  186.                 Transform { 
  187.                     children 
  188.                         Shape { 
  189.                             appearance 
  190.                                 Appearance { 
  191.                                     material 
  192.                                         Material { 
  193.                                             diffuseColor 0.000 0.000 0.000
  194.                                         }
  195.                                 }
  196.                             geometry 
  197.                                 Text { 
  198.                                     string "X Axis"
  199.                                     fontStyle 
  200.                                         FontStyle { 
  201.                                             family "SANS"
  202.                                             justify [ "MIDDLE", "BEGIN" ]
  203.                                             size 0.700
  204.                                             style "BOLD"
  205.                                         }
  206.                                 }
  207.                         }
  208.                     rotation 0.000 0.000 1.000 -1.571
  209.                     translation -0.978 -4.000 0.000
  210.                 }
  211.             ]
  212.             rotation -2.021 2.021 2.021 2.094
  213.             translation 0.800 0.000 6.120
  214.         }
  215.         Transform { 
  216.             children [ 
  217.                 Transform { 
  218.                     children 
  219.                         Shape { 
  220.                             appearance 
  221.                                 Appearance { 
  222.                                     material 
  223.                                         Material { 
  224.                                             diffuseColor 0.000 0.000 0.000
  225.                                         }
  226.                                 }
  227.                             geometry 
  228.                                 Text { 
  229.                                     string [ "15.00", "12.00", "9.00", "6.00", "3.00", "0.00" ]
  230.                                     fontStyle 
  231.                                         FontStyle { 
  232.                                             family "SANS"
  233.                                             justify [ "END", "BEGIN" ]
  234.                                             size 0.400
  235.                                             spacing 4.000
  236.                                         }
  237.                                 }
  238.                         }
  239.                 }
  240.                 Transform { 
  241.                     children 
  242.                         Shape { 
  243.                             appearance 
  244.                                 Appearance { 
  245.                                     material 
  246.                                         Material { 
  247.                                             diffuseColor 0.000 0.000 0.000
  248.                                         }
  249.                                 }
  250.                             geometry 
  251.                                 Text { 
  252.                                     string "Y Axis"
  253.                                     fontStyle 
  254.                                         FontStyle { 
  255.                                             family "SANS"
  256.                                             justify [ "MIDDLE", "BEGIN" ]
  257.                                             size 0.700
  258.                                             style "BOLD"
  259.                                         }
  260.                                 }
  261.                         }
  262.                     rotation 0.000 0.000 1.000 -1.571
  263.                     translation -1.014 -4.000 0.000
  264.                 }
  265.             ]
  266.             rotation 0.000 0.859 0.000 0.785
  267.             translation -0.200 8.200 6.120
  268.         }
  269.         Transform { 
  270.             children [ 
  271.                 Transform { 
  272.                     children 
  273.                         Shape { 
  274.                             appearance 
  275.                                 Appearance { 
  276.                                     material 
  277.                                         Material { 
  278.                                             diffuseColor 0.000 0.000 0.000
  279.                                         }
  280.                                 }
  281.                             geometry 
  282.                                 Text { 
  283.                                     string [ "First series", "Second series" ]
  284.                                     fontStyle 
  285.                                         FontStyle { 
  286.                                             family "SANS"
  287.                                             justify [ "BEGIN", "BEGIN" ]
  288.                                             size 0.400
  289.                                             spacing 7.500
  290.                                         }
  291.                                 }
  292.                         }
  293.                 }
  294.                 Transform { 
  295.                     children 
  296.                         Shape { 
  297.                             appearance 
  298.                                 Appearance { 
  299.                                     material 
  300.                                         Material { 
  301.                                             diffuseColor 0.000 0.000 0.000
  302.                                         }
  303.                                 }
  304.                             geometry 
  305.                                 Text { 
  306.                                     string "Z Axis"
  307.                                     fontStyle 
  308.                                         FontStyle { 
  309.                                             family "SANS"
  310.                                             justify [ "MIDDLE", "BEGIN" ]
  311.                                             size 0.700
  312.                                             style "BOLD"
  313.                                         }
  314.                                 }
  315.                         }
  316.                     rotation 0.000 0.000 1.000 1.571
  317.                     translation 2.542 -1.500 0.000
  318.                 }
  319.             ]
  320.             rotation -2.042 0.000 0.000 1.571
  321.             translation 10.200 0.000 1.300
  322.         }
  323.         Group { 
  324.         }
  325.         Group { 
  326.             children 
  327.                 Viewpoint { 
  328.                     orientation -0.052 0.052 0.001 0.071
  329.                     position 6.000 4.000 20.000
  330.                     description "Initial viewpoint"
  331.                 }
  332.         }
  333.         Group { 
  334.             children [ 
  335.                 NavigationInfo { 
  336.                 }
  337.                 Group { 
  338.                 }
  339.             ]
  340.         }
  341.         Group { 
  342.             children [ 
  343.                 Transform { 
  344.                     children 
  345.                         em7_ContentToggle { 
  346.                             children [ 
  347.                                 Transform { 
  348.                                     children 
  349.                                         em7_PopupStrip { 
  350.                                             xDimension 5
  351.                                             xSpacing 2.000
  352.                                             radius 0.280
  353.                                             depth 0.735
  354.                                             height [ 3.095, 2.990, 2.650, 2.892, 2.636 ]
  355.                                             transparency 1.000
  356.                                             popupHeight 0.500
  357.                                             allig